<?php
/*
 * ThankPHP Version 0.1
 * @author etongchina@gmail.com
 * @2012.04.05
 * The startup page
 */
include 'setting.inc.php';
include 'core/thankphp.php';

$tp = thankphp::getInstance();
$tp->dispatcher();

/*
 * some configuration for this framework
 * used like this:
 * $tp = thankphp::getInstance();
 * $dir = "";
 * $database = array();
 * $url = array("index", "index", "index", "index");
 * $tp->setDir($dir)->setUrl($url)->setDatabase($database);
 * $tp->dispatcher();
*/